﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>精美的表格样式</title>
    <script src="scripts/boot.js" type="text/javascript"></script>
</head>
<body>
    <div class="mini-fit">
<!--        <div class="mini-toolbar" style="border-bottom: 0;">-->
            <table >
                <tr>
                    <td>
                        欢迎使用湖州人才网后台管理系统
                    </td>
                </tr>
            </table>
<!--        </div>-->
<!--        <div class="mini-fit">
        <div id="datagrid1" class="mini-datagrid" style="width: 350px; height: 100%;" allowresize="false"
            url="data/system.aspx?method=GetWaitList" idfield="id" multiselect="true">
            <div property="columns">
                <div field="type" headeralign="center" align="center">项目类型</div>
                <div field="num" width="60px" headeralign="center" align="center" renderer="onNumRenderer">数量</div>
            </div>
        </div>
        </div>-->
    </div>
</body>
 <!--   <script type="text/javascript">
        $.ajaxSetup({
            contentType: "application/x-www-form-urlencoded;charset=utf-8",
            complete: function (XMLHttpRequest, textStatus) {
                if (XMLHttpRequest.responseText == "out") {
                    var loginWindow = parent.mini.get("loginWindow");
                    if (!loginWindow.visible)
                        loginWindow.show();
                }
            }
        });

        mini.parse();
        var grid = mini.get("datagrid1");
        grid.load();

        function onNumRenderer(e) {
            var s = '<a class="linelink" title="查看" href="javascript:void(0);" onclick="showRows(\'' + e.record.type + '\')">查看</a> (' + e.value + ')';
            return s;
        }

        //打开管理招聘Tab
        function showRows(type) {
            var tabs = parent.mini.get("mainTabs");

            if (type == '未审核企业') {
                var id = "tab$15";
                var tab = tabs.getTab(id);
                if (!tab) {
                    tab = {};
                    tab.name = id;
                    tab.title = "招聘企业管理";
                    tab.showCloseButton = true;
                    tab.url = "company/manage.html";
                    tabs.addTab(tab);
                }
                tabs.activeTab(tab);
            }
            else if (type == '未审核岗位') {
                var id = "tab$17";
                var tab = tabs.getTab(id);
                if (!tab) {
                    tab = {};
                    tab.name = id;
                    tab.title = "招聘职位管理";
                    tab.showCloseButton = true;
                    tab.url = "company/job.html";
                    tabs.addTab(tab);
                }
                tabs.activeTab(tab);
            }
            else if (type == '未审核人才') {
                var id = "tab$19";
                var tab = tabs.getTab(id);
                if (!tab) {
                    tab = {};
                    tab.name = id;
                    tab.title = "求职人才管理";
                    tab.showCloseButton = true;
                    tab.url = "person/manage.html";
                    tabs.addTab(tab);
                }
                tabs.activeTab(tab);
            }
            else if (type == '过期广告') {
                var id = "tab$51";
                var tab = tabs.getTab(id);
                if (!tab) {
                    tab = {};
                    tab.name = id;
                    tab.title = "主网站广告管理";
                    tab.showCloseButton = true;
                    tab.url = "advertisement/manage.html";
                    tabs.addTab(tab);
                }
                tabs.activeTab(tab);
            }
        }
   </script>-->
</html>
